/*
 * @Descripttion: 文件说明
 * @version: 0.0.1
 * @Author: gaojiapeng
 * @Date: 2021-02-18 07:58:07
 * @LastEditors: gaojiapeng
 * @LastEditTime: 2021-02-22 13:46:51
 */
import headerLeft from "./headerLeft";
import headerRight from "./headerRight";

import titleBox from "./titleBox";
import jindutiao from "./jindutiao";
import seamlessTable from "./seamlessTable";
import layoutBox from "./layoutBox";

const loading = {
  install(Vue) {
    const components = [
      titleBox,
      jindutiao,
      seamlessTable,
      headerLeft,
      headerRight,
      layoutBox
    ];
    components.map(component => {
      Vue.component(component.name, component);
    });
  }
};

export default loading;
